[INFO] cloning repository https://github.com/lovemoster/my-socks5-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lovemoster/my-socks5-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovemoster%2Fmy-socks5-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovemoster%2Fmy-socks5-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba66f56d329635dee92d6929a68bb4f10d664f19
[INFO] fixing lovemoster/my-socks5-server against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovemoster%2Fmy-socks5-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lovemoster/my-socks5-server
[INFO] finished tweaking git repo https://github.com/lovemoster/my-socks5-server
[INFO] tweaked toml for git repo https://github.com/lovemoster/my-socks5-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lovemoster/my-socks5-server on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lovemoster/my-socks5-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4
[INFO] running `Command { std: "docker" "start" "76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]     Checking my-socks5-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:59:41
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&mut READ_BUFFER).await?;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&raw mut READ_BUFFER).await?;
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:59:41
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&mut READ_BUFFER).await?;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&raw mut READ_BUFFER).await?;
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:11:46
[INFO] [stdout]     |
[INFO] [stdout]  11 |       while let Ok((src_stream, src_socket)) = listener.accept().await {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                                                |                 |
[INFO] [stdout]     |                                                |                 this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                                |                 up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                                |                 this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                                |                 `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                                up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                                `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                                `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]  12 | /         tokio::spawn(async move {
[INFO] [stdout]  13 | |             let _ = handler(src_stream, src_socket).await;
[INFO] [stdout]  14 | |         });
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |            `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  15 |       }
[INFO] [stdout]     |       - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.28.2/src/io/poll_evented.rs:244:1
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.28.2/src/io/poll_evented.rs:244:1
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.28.2/src/runtime/task/join.rs:345:1
[INFO] [stdout]     |
[INFO] [stdout] 345 | impl<T> Drop for JoinHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:11:46
[INFO] [stdout]     |
[INFO] [stdout]  11 |       while let Ok((src_stream, src_socket)) = listener.accept().await {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                                                |                 |
[INFO] [stdout]     |                                                |                 this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                                |                 up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                                |                 this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                                |                 `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                                up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                                `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                                `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]  12 | /         tokio::spawn(async move {
[INFO] [stdout]  13 | |             let _ = handler(src_stream, src_socket).await;
[INFO] [stdout]  14 | |         });
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |            `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  15 |       }
[INFO] [stdout]     |       - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.28.2/src/io/poll_evented.rs:244:1
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.28.2/src/io/poll_evented.rs:244:1
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.28.2/src/runtime/task/join.rs:345:1
[INFO] [stdout]     |
[INFO] [stdout] 345 | impl<T> Drop for JoinHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s
[INFO] [stderr] crater-edition-check: my-socks5-server v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking my-socks5-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:59:41
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&mut READ_BUFFER).await?;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&raw mut READ_BUFFER).await?;
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-socks5-server` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:59:41
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&mut READ_BUFFER).await?;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let read_length = src_read.read(&raw mut READ_BUFFER).await?;
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-socks5-server` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4", kill_on_drop: false }`
[INFO] [stdout] 76b544c7e2453dafc13f4c07d35d44f3ea05603ac170de16639fd267a8b8def4
